Total Complexity | 12 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 129 |
Lines of code | 63 |
Logical lines of code | 24 |
Comment lines | 45 |
Methods | 6 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_content_from_url() | 50 | 4 | 29 | |
get_error_from_response() | 62 | 2 | 12 | |
download_file() | 68 | 2 | 7 | |
set_download_directory_path() | 65 | 2 | 9 | |
__construct() | 81 | 1 | 3 | |
get_download_directory_path() | 82 | 1 | 3 |